﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmployeeDetails.aspx.cs"
    MasterPageFile="~/Pages/Tesla.Master" Inherits="Tesla.Web.Pages.EmployeeDetails" %>

<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
    </script>
    <div>
        <table width="100%" style="margin: inherit; padding: inherit; border: inherit">
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
        <asp:Panel ID="pnl1" Width="80%" CssClass="Tesla_Standard_BigPanelHeading" runat="server">
            <fieldset>
                <legend class="Tesla_Standard_BigPanelHeading" id="Legend1" runat="server">Add Employee</legend>
                <asp:Panel ID="Panel1" CssClass="Tesla_Standard_PanelHeading" Width="100%" runat="server">
                    <fieldset>
                        <legend class="Tesla_Standard_PanelHeading" id="Legend2" runat="server">Details</legend>
                        <table width="100%" cellspacing="0px">
                            <tr>
                                <td align="left" colspan="2">
                                    <asp:Image ID="imgEmployee" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="style1">
                                    <asp:Label ID="lblEmployeeFirstName" CssClass="Tesla_Standard_Label" runat="server"
                                        Text="First Name:"></asp:Label>
                                </td>
                                <td style="width: 30%" align="left">
                                    <CustomUtil:TeslaTextBox ID="txtEmployeeFirstName" CssClass="textboxStyle" runat="server"
                                        MaxLength="100" Text="" Style="margin-left: 0px; font-family: Arial; font-size: 11px;
                                        color: #002664" Width="441px"></CustomUtil:TeslaTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="Tesla_Standard_Label" ID="lblEmployeeLastName" runat="server"
                                        Text="Last Name:"></asp:Label>
                                </td>
                                <td style="width: 30%" align="left">
                                    <CustomUtil:TeslaTextBox ID="txtEmployeeLastName" CssClass="textboxStyle" runat="server"
                                        MaxLength="100" Text="" Style="margin-left: 0px; font-family: Arial; font-size: 11px;
                                        color: #002664" Width="441px"></CustomUtil:TeslaTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="Tesla_Standard_Label" ID="lblMiddleName" runat="server" Text="Middle Name:"></asp:Label>
                                </td>
                                <td style="width: 30%" align="left">
                                    <CustomUtil:TeslaTextBox ID="txtEmployeeMiddleName" CssClass="textboxStyle" runat="server"
                                        MaxLength="100" Text="" Style="margin-left: 0px; font-family: Arial; font-size: 11px;
                                        color: #002664" Width="441px"></CustomUtil:TeslaTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="Tesla_Standard_Label" ID="lblPANNo" runat="server" Text="PAN No:"></asp:Label>
                                </td>
                                <td style="width: 70%">
                                    <asp:TextBox CssClass="textboxStyle" ID="txtEmployeePANNo" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="Tesla_Standard_Label" ID="lblContactNo" runat="server" Text="Contact No:"></asp:Label>
                                </td>
                                <td style="width: 70%">
                                    <asp:TextBox CssClass="textboxStyle" ID="txtEmployeeContactNo" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="Tesla_Standard_Label" ID="lblEmployeeEmailID" runat="server"
                                        Text="Email ID:"></asp:Label>
                                </td>
                                <td style="width: 30%" align="left">
                                    <CustomUtil:TeslaTextBox ID="txtEmployeeEmailID" CssClass="textboxStyle" runat="server"
                                        MaxLength="100" Text="" Style="margin-left: 0px; font-family: Arial; font-size: 11px;
                                        color: #002664" Width="441px"></CustomUtil:TeslaTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="Tesla_Standard_Label" ID="lblRelevantExp" runat="server" Text="Relevant Experience:"></asp:Label>
                                </td>
                                <td style="width: 70%">
                                    <asp:TextBox CssClass="textboxStyle" ID="txtEmployeeRelevantExp" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="Tesla_Standard_Label" ID="lblUploadImage" runat="server" Text="Upload Image:"></asp:Label>
                                </td>
                                <td style="width: 70%">
                                    <asp:FileUpload ID="imgUpload" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </asp:Panel>
                <table style="width: 100%">
                    <tr>
                        <td align="right" style="width: 70%">
                            <asp:Button ID="btnSave" runat="server" Text="Save" CssClass="Tesla_Standard_Button"
                                OnClick="btnSave_Click" />
                            <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="Tesla_Standard_Button"
                                OnClick="btnCancel_Click" />
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </asp:Panel>
    </div>
</asp:Content>
